package com.a918.service;

import com.a918.entity.*;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface MemberService {

    Integer insertBwg(MemBwgWithBLOBs memBwgWithBLOBs);

    void updateBwg(MemBwgWithBLOBs memBwgWithBLOBs);

    PageInfo<MemBwg> findmemBwgList(Map<String, String> paramMap);

    Integer insertPer(MemPerWithBLOBs memPerWithBLOBs);

    void updatePer(MemPerWithBLOBs memPerWithBLOBs);

    PageInfo<MemPer> findmemPerList(Map<String, String> paramMap);

    Integer insertOth(MemOth memOth);

    void updateOth(MemOth memOth);

    PageInfo<MemOth> findmemOthList(Map<String, String> paramMap);

    PageInfo<MemBwg> getBwgInfo(Map<String, String> paramMap,Integer userid);

    PageInfo<MemPer> getPerInfo(Map<String, String> paramMap, Integer userid);

    PageInfo<MemOth> getOthInfo(Map<String, String> paramMap, Integer userid);

    PageInfo<Bwg2govern> getZFzhichiInfo(Map<String, String> paramMap, Integer bwgid);

    PageInfo<Bwg2wenwu> getCangpinInfo(Map<String, String> paramMap, Integer bwgid);

    void deleteBwgById(Integer id);

    void deletePerById(Integer id);

    void deleteOthById(Integer id);

    void deleteCangpinById(Integer id);

    void deleteZFzhichiById(Integer id);

    MemBwgWithBLOBs getBwgInfoById(Integer id);

    MemPerWithBLOBs getPerInfoById(Integer id);

    MemOth getOthInfoById(Integer id);

    void insertBwgTogovern(Bwg2govern bwg2govern);

    void insertBwg2wenwu(Bwg2wenwu bwg2wenwu);

    void insertBwg2material(Bwg2material bwg2material);

    Bwg2wenwu getCangpinById(Integer id);

    List<Bwg2wenwu> getCangpinListByBwgid(Integer bwgid);

    List<Bwg2govern> getZFzhichiByBwgid(Integer bwgid);

    List<Bwg2material> getMaterialLisiByBwgid(Integer bwgid);

    void deleteMaterialById(Integer id);

    MemBwgWithBLOBs selectBwgId(Integer userid);

    MemPerWithBLOBs selectPerId(Integer userid);

    MemOth selectOthId(Integer userid);

    List<RegisterFile> getRiRegisterFileByUserId(Integer userid);
}
